import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
//引入全局样式
import "./assets/css/resets.css"
//引入element-ui
import "./Warburg/element.js"
//引入vant
import "./Warburg/vant"
import Global from './Gloabl.js';
Vue.use(Global);
// 时间过滤器
import moment from "moment"
Vue.filter('dateformat', function (dataStr, pattern = 'YYYY-MM-DD HH:mm:ss') {

  return moment(dataStr).format(pattern)

})

import Login from "@/components/User/login.vue"
Vue.component(Login.name, Login)
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
